package org.xqyy.eval.service;

import org.xqyy.eval.model.TSuggestion;
import org.xqyy.eval.model.TUser;

/**
 * 合理化意见service
 */
public interface ITSuggestionService {
    /**
     * 添加合理化意见
     * @param tSuggestion 合理化意见
     * @return
     */
    public  Boolean addTSuggestion(TSuggestion tSuggestion);

    /**
     * 是否允许填写合理化意见
     * @param user 用户
     * @return
     */
    public  Boolean isAllowSubmitSuggestion(TUser user);

    /**
     * 根据科室id和填报周期查找合理化意见是否存在
     * @param deptId 科室id
     * @param yearmonth 填报周期
     * @return
     */
    public Boolean isExistTSuggestionByDeptIdAndYearMonth(String deptId,String yearmonth);
}
